﻿namespace Cos.Core.Attributes
{
    using Microsoft.Practices.Unity.InterceptionExtension;

    public class InterceptorExecutedContextEventArg : InterceptorExecutingContextEventArg
    {
        private readonly IMethodReturn output;

        public InterceptorExecutedContextEventArg(IMethodInvocation input, IMethodReturn output)
            : base(input)
        {
            this.output = output;
        }

        public IMethodReturn Output
        {
            get { return this.output; }
        }
    }
}
